#主动技能【魔裂千世】

# scoreboard players set @a[distance=0.1..6,gamemode=!spectator] EFDisarm 40
scoreboard players set @a[distance=0.1..8,gamemode=!spectator] EFLocks 80

effect clear @a[scores={mieshang5=1..},distance=0.1..6,gamemode=!spectator] absorption
effect clear @a[scores={mieshang5=1..},distance=0.1..6,gamemode=!spectator] resistance

particle minecraft:entity_effect ~ ~ ~ 1.5 0.5 1.5 0.01 200

effect give @a[scores={mieshang5=1..},distance=0.1..8,gamemode=!spectator] instant_damage 1 0
effect give @a[scores={mieshang5=1..},distance=0.1..8,gamemode=!spectator] regeneration 1 4 true
execute at @a[scores={mieshang5=1..},distance=0.1..6,gamemode=!spectator] run particle damage_indicator ~ ~0.5 ~ 0.3 0.3 0.3 0.01 4 normal @a

effect give @s instant_damage 1 0
execute if entity @a[distance=0.1..6,gamemode=!spectator,scores={mieshang5=1..}] run effect give @s wither 3 1 true


tellraw @a [{"selector":"@s","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"：释放技能","color":"blue","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"【魔裂千世】","color":"dark_red","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"—灭殇","color":"gold","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
scoreboard players set @a[distance=0.1..6,gamemode=!spectator] mieshang5 0
scoreboard players set @s skCDEXBottle 25
scoreboard players set @s skEXBottle 0